package com.qumitech.visualnovel.datasource.console;

import com.qumitech.visualnovel.model.dao.console.UnionSysUserRoleDO;
import org.apache.ibatis.annotations.Param;

public interface UnionSysUserRoleDOMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UnionSysUserRoleDO record);

    int insertSelective(UnionSysUserRoleDO record);

    UnionSysUserRoleDO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UnionSysUserRoleDO record);

    int updateByPrimaryKey(UnionSysUserRoleDO record);

    void bindUserSysRole(@Param("uid") int uid, @Param("rid") int role_id);

    void unBindUserSysRole(@Param("uid") int uid);
}